<template>
  <div class="country-data">
    <div class="box-title">
      <div class="data-status">
        <img src="../../../../../assets/image/teams/teamData.png" alt="" class="">
        <span>球队统计</span>
      </div>
    </div>
    <tab-control-sub
    ref="tab"
    :titles="['球队阵容','比赛轮次']"
    :fixed="fixed"
    @tabClick="tabClick"
    color="#FFF566">
    </tab-control-sub>

    <squad-table
    v-if="currIndex===0"
    :squad="squad">
    </squad-table>



    <rounds-table
      v-if="currIndex===1"
      :team-match="teamMatch"
      ref="playersTable"
      >
    </rounds-table>




  </div>
</template>

<script>
  import TabControlSub from "../../../../common/tabControl/TabControlSub";
  import RoundsTable from "../../../table/RoundsTable";
  import SquadTable from "../../../table/SquadTable";
  export default {
    name: "CountryData",
    props:{
      teamMatch:{
        type:Array,
        default(){
          return []
        }
      },
      fixed:false
    },
    data(){
      return{
        currIndex:0,
        squad:[{"_id":"5f6ed97adb50443bac579425","teamId":1008,"personId":7974,"personName":"卡瓦略","personNameEn":"Ricardo Carvalho","personNum":"16","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E9%81%97%E6%BC%8F%E7%9A%84%E7%90%83%E5%91%98/imimg/Ricardo%20Carvalho.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/others/Portugal.jpg","age":"39.0","birth":"1978.05.18","teamName":"上海上港","countryName":"葡萄牙","weight":"79","height":"183","minutesPlayed":"360.0","goals":"0.0","assists":"1.0","shots":"3.0","shotsOnTarget":"0.0","passes":"156.0","passAcurracy":"3.319213467","fouls":"9.0","ballPossession":"8.379999999999999","catchBall":"90.0","keyPass":"0.0","center":"0.0","breakThrows":"0.0","foulsConceded":"4.0","offsides":"0.0","interceptions":"6.0","clearances":"29.0","tackles":"9.0","blockShots":"2.0","blockPasses":"5.0","saves":"0.0","yellowCard":"2.0","redCard":"0.0","passShorts":"146.0","passesShortsAcc":"0.84","passLong":"10.0","passesLongAcc":"0.38","PassThroughRate":"0.17","PassBackRate":"0.13","PassDiagonalRate":"0.54","PassLateralRate":"0.16","attacking_rate":"5.2","orgnizing_rate":"4.8","defending_rate":"5.5","skill_rate":"5.5","all_rate":"5.3"},{"_id":"5f6ed97adb50443bac57956b","teamId":1008,"personId":1290,"personName":"郑致云","personNameEn":"Zheng Zhiyun","personNum":"29","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Zheng%20Zhiyun.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"nan","birth":"nan","teamName":"上海上港","countryName":"中国","weight":"70","height":"178","minutesPlayed":"99.0","goals":"0.0","assists":"0.0","shots":"1.0","shotsOnTarget":"0.0","passes":"36.0","passAcurracy":"3.139610389","fouls":"2.0","ballPossession":"1.74","catchBall":"29.0","keyPass":"1.0","center":"1.0","breakThrows":"1.0","foulsConceded":"3.0","offsides":"1.0","interceptions":"3.0","clearances":"0.0","tackles":"3.0","blockShots":"0.0","blockPasses":"1.0","saves":"0.0","yellowCard":"0.0","redCard":"0.0","passShorts":"34.0","passesShortsAcc":"0.64","passLong":"2.0","passesLongAcc":"0.2","PassThroughRate":"0.18","PassBackRate":"0.28","PassDiagonalRate":"0.37","PassLateralRate":"0.17","attacking_rate":"4.3","orgnizing_rate":"4.7","defending_rate":"4.1","skill_rate":"4.3","all_rate":"4.2"},{"_id":"5f6ed97adb50443bac57956c","teamId":1008,"personId":1286,"personName":"张一","personNameEn":"Zhang Yi","personNum":"18","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Zhang%20Yi.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"24.0","birth":"1993.08.17","teamName":"上海上港","countryName":"中国","weight":"65","height":"179","minutesPlayed":"568.0","goals":"0.0","assists":"0.0","shots":"2.0","shotsOnTarget":"0.0","passes":"326.0","passAcurracy":"10.690691425","fouls":"15.0","ballPossession":"16.18","catchBall":"222.0","keyPass":"3.0","center":"2.0","breakThrows":"5.0","foulsConceded":"6.0","offsides":"0.0","interceptions":"9.0","clearances":"10.0","tackles":"23.0","blockShots":"2.0","blockPasses":"5.0","saves":"0.0","yellowCard":"1.0","redCard":"0.0","passShorts":"281.0","passesShortsAcc":"0.84","passLong":"45.0","passesLongAcc":"0.56","PassThroughRate":"0.11","PassBackRate":"0.28","PassDiagonalRate":"0.43","PassLateralRate":"0.19","attacking_rate":"4.2","orgnizing_rate":"4.9","defending_rate":"5.1","skill_rate":"4.3","all_rate":"4.5"},{"_id":"5f6ed97adb50443bac57956d","teamId":1008,"personId":1273,"personName":"张卫","personNameEn":"Zhang Wei","personNum":"2","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Zhang%20Wei.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"24.0","birth":"1993.03.28","teamName":"上海上港","countryName":"中国","weight":"73","height":"175","minutesPlayed":"941.0","goals":"0.0","assists":"1.0","shots":"1.0","shotsOnTarget":"0.0","passes":"318.0","passAcurracy":"10.996550019","fouls":"23.0","ballPossession":"22.14","catchBall":"217.0","keyPass":"10.0","center":"20.0","breakThrows":"7.0","foulsConceded":"8.0","offsides":"2.0","interceptions":"21.0","clearances":"39.0","tackles":"16.0","blockShots":"4.0","blockPasses":"19.0","saves":"0.0","yellowCard":"3.0","redCard":"0.0","passShorts":"295.0","passesShortsAcc":"0.72","passLong":"23.0","passesLongAcc":"0.07","PassThroughRate":"0.14","PassBackRate":"0.22","PassDiagonalRate":"0.5","PassLateralRate":"0.14","attacking_rate":"4.7","orgnizing_rate":"4.6","defending_rate":"5.4","skill_rate":"5.1","all_rate":"4.8"},{"_id":"5f6ed97adb50443bac57956e","teamId":1008,"personId":8068,"personName":"张华晨","personNameEn":"Zhang Huachen","personNum":"17","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Zhang%20Huachen.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"19.0","birth":"1998.03.16","teamName":"上海上港","countryName":"中国","weight":"68","height":"176","minutesPlayed":"174.0","goals":"0.0","assists":"0.0","shots":"0.0","shotsOnTarget":"0.0","passes":"79.0","passAcurracy":"8.596428571","fouls":"6.0","ballPossession":"4.169999999999999","catchBall":"50.0","keyPass":"0.0","center":"0.0","breakThrows":"0.0","foulsConceded":"2.0","offsides":"0.0","interceptions":"3.0","clearances":"1.0","tackles":"3.0","blockShots":"0.0","blockPasses":"0.0","saves":"0.0","yellowCard":"1.0","redCard":"0.0","passShorts":"71.0","passesShortsAcc":"0.74","passLong":"8.0","passesLongAcc":"0.33","PassThroughRate":"0.13","PassBackRate":"0.29","PassDiagonalRate":"0.4","PassLateralRate":"0.19","attacking_rate":"4.6","orgnizing_rate":"5.5","defending_rate":"4.9","skill_rate":"4.8","all_rate":"4.9"},{"_id":"5f6ed97adb50443bac57956f","teamId":1008,"personId":1122,"personName":"于海","personNameEn":"Yu Hai","personNum":"21","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Yu%20Hai.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"30.0","birth":"1987.06.04","teamName":"上海上港","countryName":"中国","weight":"75","height":"182","minutesPlayed":"847.0","goals":"1.0","assists":"0.0","shots":"13.0","shotsOnTarget":"5.0","passes":"348.0","passAcurracy":"13.076942719","fouls":"26.0","ballPossession":"20.939999999999998","catchBall":"282.0","keyPass":"6.0","center":"19.0","breakThrows":"21.0","foulsConceded":"17.0","offsides":"1.0","interceptions":"5.0","clearances":"19.0","tackles":"20.0","blockShots":"5.0","blockPasses":"15.0","saves":"0.0","yellowCard":"2.0","redCard":"0.0","passShorts":"336.0","passesShortsAcc":"0.66","passLong":"12.0","passesLongAcc":"0.13","PassThroughRate":"0.1","PassBackRate":"0.24","PassDiagonalRate":"0.4","PassLateralRate":"0.21","attacking_rate":"4.6","orgnizing_rate":"5.0","defending_rate":"4.6","skill_rate":"4.5","all_rate":"4.8"},{"_id":"5f6ed97adb50443bac579570","teamId":1008,"personId":1270,"personName":"颜骏凌","personNameEn":"Yan Junling","personNum":"1","personPosition":"门将","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Yan%20Junling.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"26.0","birth":"1991.01.28","teamName":"上海上港","countryName":"中国","weight":"77","height":"189","minutesPlayed":"2700.0","goals":"0.0","assists":"0.0","shots":"0.0","shotsOnTarget":"0.0","passes":"471.0","passAcurracy":"22.027407664000002","fouls":"0.0","ballPossession":"93.61000000000001","catchBall":"198.0","keyPass":"2.0","center":"0.0","breakThrows":"0.0","foulsConceded":"6.0","offsides":"0.0","interceptions":"0.0","clearances":"10.0","tackles":"0.0","blockShots":"0.0","blockPasses":"0.0","saves":"110.0","yellowCard":"2.0","redCard":"0.0","passShorts":"240.0","passesShortsAcc":"0.97","passLong":"231.0","passesLongAcc":"0.54","PassThroughRate":"0.32","PassBackRate":"0.0","PassDiagonalRate":"0.64","PassLateralRate":"0.03","attacking_rate":"4.7","orgnizing_rate":"4.7","defending_rate":"3.7","skill_rate":"5.9","all_rate":"4.4"},{"_id":"5f6ed97adb50443bac579571","teamId":1008,"personId":1284,"personName":"武磊","personNameEn":"Wu Lei","personNum":"7","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Wu%20Lei.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"26.0","birth":"1991.11.19","teamName":"上海上港","countryName":"中国","weight":"62","height":"172","minutesPlayed":"2366.0","goals":"20.0","assists":"8.0","shots":"93.0","shotsOnTarget":"41.0","passes":"664.0","passAcurracy":"20.336027730999998","fouls":"22.0","ballPossession":"41.699999999999996","catchBall":"659.0","keyPass":"23.0","center":"21.0","breakThrows":"54.0","foulsConceded":"24.0","offsides":"23.0","interceptions":"15.0","clearances":"12.0","tackles":"29.0","blockShots":"3.0","blockPasses":"17.0","saves":"0.0","yellowCard":"3.0","redCard":"0.0","passShorts":"635.0","passesShortsAcc":"0.74","passLong":"29.0","passesLongAcc":"0.27","PassThroughRate":"0.1","PassBackRate":"0.38","PassDiagonalRate":"0.34","PassLateralRate":"0.17","attacking_rate":"6.2","orgnizing_rate":"5.1","defending_rate":"4.5","skill_rate":"5.4","all_rate":"5.9"},{"_id":"5f6ed97adb50443bac579572","teamId":1008,"personId":8069,"personName":"魏震","personNameEn":"Wei Zhen","personNum":"13","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Wei%20Zhen.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"20.0","birth":"1997.02.12","teamName":"上海上港","countryName":"中国","weight":"78","height":"188","minutesPlayed":"519.0","goals":"0.0","assists":"0.0","shots":"0.0","shotsOnTarget":"0.0","passes":"189.0","passAcurracy":"6.460301153","fouls":"12.0","ballPossession":"10.41","catchBall":"107.0","keyPass":"1.0","center":"2.0","breakThrows":"2.0","foulsConceded":"4.0","offsides":"0.0","interceptions":"13.0","clearances":"16.0","tackles":"12.0","blockShots":"0.0","blockPasses":"4.0","saves":"0.0","yellowCard":"2.0","redCard":"0.0","passShorts":"172.0","passesShortsAcc":"0.85","passLong":"17.0","passesLongAcc":"0.35","PassThroughRate":"0.19","PassBackRate":"0.16","PassDiagonalRate":"0.48","PassLateralRate":"0.16","attacking_rate":"4.7","orgnizing_rate":"4.8","defending_rate":"5.2","skill_rate":"5.4","all_rate":"4.7"},{"_id":"5f6ed97adb50443bac579573","teamId":1008,"personId":3802,"personName":"韦世豪","personNameEn":"Wei Shihao","personNum":"33","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Wei%20Shihao.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"22.0","birth":"1995.04.08","teamName":"上海上港","countryName":"中国","weight":"65","height":"178","minutesPlayed":"590.0","goals":"3.0","assists":"3.0","shots":"13.0","shotsOnTarget":"6.0","passes":"171.0","passAcurracy":"9.371818486999999","fouls":"6.0","ballPossession":"11.969999999999999","catchBall":"169.0","keyPass":"7.0","center":"7.0","breakThrows":"20.0","foulsConceded":"9.0","offsides":"1.0","interceptions":"2.0","clearances":"8.0","tackles":"12.0","blockShots":"2.0","blockPasses":"10.0","saves":"0.0","yellowCard":"3.0","redCard":"0.0","passShorts":"163.0","passesShortsAcc":"0.68","passLong":"8.0","passesLongAcc":"0.14","PassThroughRate":"0.05","PassBackRate":"0.38","PassDiagonalRate":"0.26","PassLateralRate":"0.17","attacking_rate":"5.2","orgnizing_rate":"5.4","defending_rate":"4.6","skill_rate":"5.0","all_rate":"5.4"},{"_id":"5f6ed97adb50443bac579574","teamId":1008,"personId":1275,"personName":"王燊超","personNameEn":"Wang Shenchao","personNum":"4","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Wang%20Shenchao.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"28.0","birth":"1989.02.08","teamName":"上海上港","countryName":"中国","weight":"71","height":"179","minutesPlayed":"2600.0","goals":"1.0","assists":"3.0","shots":"8.0","shotsOnTarget":"2.0","passes":"878.0","passAcurracy":"21.575380728","fouls":"31.0","ballPossession":"58.86","catchBall":"601.0","keyPass":"20.0","center":"39.0","breakThrows":"17.0","foulsConceded":"19.0","offsides":"4.0","interceptions":"40.0","clearances":"87.0","tackles":"58.0","blockShots":"12.0","blockPasses":"38.0","saves":"0.0","yellowCard":"5.0","redCard":"0.0","passShorts":"791.0","passesShortsAcc":"0.79","passLong":"87.0","passesLongAcc":"0.34","PassThroughRate":"0.19","PassBackRate":"0.28","PassDiagonalRate":"0.38","PassLateralRate":"0.15","attacking_rate":"4.7","orgnizing_rate":"4.6","defending_rate":"5.1","skill_rate":"5.3","all_rate":"4.7"},{"_id":"5f6ed97adb50443bac579575","teamId":1008,"personId":1276,"personName":"汪佳捷","personNameEn":"Wang Jiajie","personNum":"5","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Wang%20Jiajie.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"nan","birth":"nan","teamName":"上海上港","countryName":"中国","weight":"77","height":"185","minutesPlayed":"19.0","goals":"0.0","assists":"0.0","shots":"0.0","shotsOnTarget":"0.0","passes":"4.0","passAcurracy":"0.75","fouls":"0.0","ballPossession":"0.25","catchBall":"2.0","keyPass":"0.0","center":"0.0","breakThrows":"0.0","foulsConceded":"0.0","offsides":"0.0","interceptions":"0.0","clearances":"1.0","tackles":"0.0","blockShots":"0.0","blockPasses":"0.0","saves":"0.0","yellowCard":"0.0","redCard":"0.0","passShorts":"3.0","passesShortsAcc":"1.0","passLong":"1.0","passesLongAcc":"0.0","PassThroughRate":"0.25","PassBackRate":"0.25","PassDiagonalRate":"0.25","PassLateralRate":"0.25","attacking_rate":"4.7","orgnizing_rate":"3.5","defending_rate":"3.9","skill_rate":"5.8","all_rate":"3.9"},{"_id":"5f6ed97adb50443bac579576","teamId":1008,"personId":1375,"personName":"石柯","personNameEn":"Shi Ke","personNum":"27","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Shi%20Ke.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"24.0","birth":"1993.01.08","teamName":"上海上港","countryName":"中国","weight":"80","height":"184","minutesPlayed":"1898.0","goals":"0.0","assists":"0.0","shots":"7.0","shotsOnTarget":"0.0","passes":"674.0","passAcurracy":"18.504412875","fouls":"19.0","ballPossession":"41.91","catchBall":"435.0","keyPass":"2.0","center":"7.0","breakThrows":"3.0","foulsConceded":"6.0","offsides":"1.0","interceptions":"33.0","clearances":"126.0","tackles":"21.0","blockShots":"13.0","blockPasses":"10.0","saves":"0.0","yellowCard":"5.0","redCard":"0.0","passShorts":"570.0","passesShortsAcc":"0.82","passLong":"104.0","passesLongAcc":"0.49","PassThroughRate":"0.21","PassBackRate":"0.11","PassDiagonalRate":"0.51","PassLateralRate":"0.13","attacking_rate":"4.6","orgnizing_rate":"4.7","defending_rate":"5.1","skill_rate":"5.4","all_rate":"4.7"},{"_id":"5f6ed97adb50443bac579577","teamId":1008,"personId":4174,"personName":"奥斯卡","personNameEn":"Oscar","personNum":"8","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Oscar.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/Brazil.jpg","age":"26.0","birth":"1991.09.09","teamName":"上海上港","countryName":"巴西","weight":"67","height":"180","minutesPlayed":"1966.0","goals":"3.0","assists":"9.0","shots":"51.0","shotsOnTarget":"18.0","passes":"1238.0","passAcurracy":"17.363355195","fouls":"29.0","ballPossession":"89.15","catchBall":"1109.0","keyPass":"60.0","center":"74.0","breakThrows":"120.0","foulsConceded":"58.0","offsides":"3.0","interceptions":"17.0","clearances":"14.0","tackles":"53.0","blockShots":"3.0","blockPasses":"31.0","saves":"0.0","yellowCard":"2.0","redCard":"0.0","passShorts":"1101.0","passesShortsAcc":"0.81","passLong":"137.0","passesLongAcc":"0.66","PassThroughRate":"0.12","PassBackRate":"0.2","PassDiagonalRate":"0.49","PassLateralRate":"0.2","attacking_rate":"5.1","orgnizing_rate":"6.6","defending_rate":"4.9","skill_rate":"4.2","all_rate":"5.7"},{"_id":"5f6ed97adb50443bac579578","teamId":1008,"personId":1297,"personName":"林创益","personNameEn":"Lin Chuangyi","personNum":"15","personPosition":"前锋","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Lin%20Chuangyi.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"24.0","birth":"1993.01.28","teamName":"上海上港","countryName":"中国","weight":"75","height":"180","minutesPlayed":"908.0","goals":"0.0","assists":"0.0","shots":"8.0","shotsOnTarget":"2.0","passes":"416.0","passAcurracy":"13.617281737","fouls":"20.0","ballPossession":"22.410000000000004","catchBall":"330.0","keyPass":"9.0","center":"6.0","breakThrows":"12.0","foulsConceded":"18.0","offsides":"0.0","interceptions":"16.0","clearances":"12.0","tackles":"23.0","blockShots":"2.0","blockPasses":"16.0","saves":"0.0","yellowCard":"0.0","redCard":"0.0","passShorts":"376.0","passesShortsAcc":"0.75","passLong":"40.0","passesLongAcc":"0.35","PassThroughRate":"0.09","PassBackRate":"0.28","PassDiagonalRate":"0.43","PassLateralRate":"0.14","attacking_rate":"4.5","orgnizing_rate":"4.4","defending_rate":"5.0","skill_rate":"4.5","all_rate":"4.5"},{"_id":"5f6ed97adb50443bac579579","teamId":1008,"personId":1296,"personName":"李圣龙","personNameEn":"Li Shenglong","personNum":"14","personPosition":"前锋","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Li%20Shenglong.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"nan","birth":"nan","teamName":"上海上港","countryName":"中国","weight":"71","height":"180","minutesPlayed":"60.0","goals":"2.0","assists":"0.0","shots":"6.0","shotsOnTarget":"3.0","passes":"21.0","passAcurracy":"4.216666667","fouls":"4.0","ballPossession":"1.27","catchBall":"16.0","keyPass":"0.0","center":"1.0","breakThrows":"2.0","foulsConceded":"2.0","offsides":"0.0","interceptions":"3.0","clearances":"1.0","tackles":"1.0","blockShots":"0.0","blockPasses":"0.0","saves":"0.0","yellowCard":"1.0","redCard":"0.0","passShorts":"20.0","passesShortsAcc":"0.69","passLong":"1.0","passesLongAcc":"0.17","PassThroughRate":"0.11","PassBackRate":"0.21","PassDiagonalRate":"0.37","PassLateralRate":"0.14","attacking_rate":"5.3","orgnizing_rate":"4.0","defending_rate":"4.0","skill_rate":"3.1","all_rate":"5.3"},{"_id":"5f6ed97adb50443bac57957a","teamId":1008,"personId":1294,"personName":"吕文君","personNameEn":"Lv Wenjun","personNum":"11","personPosition":"前锋","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/L%C3%BC%20Wenjun.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"28.0","birth":"1989.03.11","teamName":"上海上港","countryName":"中国","weight":"71","height":"184","minutesPlayed":"1210.0","goals":"5.0","assists":"3.0","shots":"21.0","shotsOnTarget":"10.0","passes":"399.0","passAcurracy":"17.011801934999998","fouls":"18.0","ballPossession":"21.950000000000003","catchBall":"342.0","keyPass":"19.0","center":"32.0","breakThrows":"22.0","foulsConceded":"26.0","offsides":"14.0","interceptions":"2.0","clearances":"20.0","tackles":"17.0","blockShots":"1.0","blockPasses":"11.0","saves":"0.0","yellowCard":"2.0","redCard":"0.0","passShorts":"373.0","passesShortsAcc":"0.7","passLong":"26.0","passesLongAcc":"0.33","PassThroughRate":"0.07","PassBackRate":"0.39","PassDiagonalRate":"0.37","PassLateralRate":"0.13","attacking_rate":"5.0","orgnizing_rate":"4.9","defending_rate":"4.6","skill_rate":"5.0","all_rate":"5.0"},{"_id":"5f6ed97adb50443bac57957b","teamId":1008,"personId":7239,"personName":"胡尔克","personNameEn":"Hulk","personNum":"10","personPosition":"前锋","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Hulk.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/Brazil.jpg","age":"31.0","birth":"1986.07.25","teamName":"上海上港","countryName":"巴西","weight":"75","height":"180","minutesPlayed":"2397.0","goals":"17.0","assists":"12.0","shots":"149.0","shotsOnTarget":"61.0","passes":"937.0","passAcurracy":"18.352440027","fouls":"54.0","ballPossession":"93.58","catchBall":"1022.0","keyPass":"54.0","center":"140.0","breakThrows":"268.0","foulsConceded":"113.0","offsides":"10.0","interceptions":"3.0","clearances":"2.0","tackles":"24.0","blockShots":"1.0","blockPasses":"15.0","saves":"0.0","yellowCard":"7.0","redCard":"0.0","passShorts":"862.0","passesShortsAcc":"0.68","passLong":"75.0","passesLongAcc":"0.57","PassThroughRate":"0.11","PassBackRate":"0.31","PassDiagonalRate":"0.38","PassLateralRate":"0.2","attacking_rate":"6.2","orgnizing_rate":"5.5","defending_rate":"4.3","skill_rate":"4.1","all_rate":"5.9"},{"_id":"5f6ed97adb50443bac57957c","teamId":1008,"personId":1282,"personName":"贺惯","personNameEn":"He Guan","personNum":"28","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/He%20Guan.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"24.0","birth":"1993.01.25","teamName":"上海上港","countryName":"中国","weight":"79","height":"181","minutesPlayed":"2546.0","goals":"2.0","assists":"1.0","shots":"5.0","shotsOnTarget":"3.0","passes":"748.0","passAcurracy":"23.599359532999998","fouls":"22.0","ballPossession":"43.61000000000001","catchBall":"457.0","keyPass":"2.0","center":"0.0","breakThrows":"0.0","foulsConceded":"11.0","offsides":"0.0","interceptions":"25.0","clearances":"124.0","tackles":"31.0","blockShots":"20.0","blockPasses":"14.0","saves":"0.0","yellowCard":"2.0","redCard":"0.0","passShorts":"643.0","passesShortsAcc":"0.86","passLong":"105.0","passesLongAcc":"0.57","PassThroughRate":"0.18","PassBackRate":"0.13","PassDiagonalRate":"0.48","PassLateralRate":"0.2","attacking_rate":"4.8","orgnizing_rate":"5.1","defending_rate":"4.8","skill_rate":"5.6","all_rate":"5.0"},{"_id":"5f6ed97adb50443bac57957d","teamId":1008,"personId":8070,"personName":"高海生","personNameEn":"Gao Haisheng","personNum":"26","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Gao%20Haisheng.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"nan","birth":"nan","teamName":"上海上港","countryName":"中国","weight":"73","height":"183","minutesPlayed":"45.0","goals":"0.0","assists":"0.0","shots":"0.0","shotsOnTarget":"0.0","passes":"19.0","passAcurracy":"0.736842105","fouls":"0.0","ballPossession":"0.87","catchBall":"13.0","keyPass":"0.0","center":"2.0","breakThrows":"0.0","foulsConceded":"0.0","offsides":"0.0","interceptions":"0.0","clearances":"0.0","tackles":"2.0","blockShots":"0.0","blockPasses":"0.0","saves":"0.0","yellowCard":"0.0","redCard":"0.0","passShorts":"17.0","passesShortsAcc":"0.71","passLong":"2.0","passesLongAcc":"1.0","PassThroughRate":"0.05","PassBackRate":"0.32","PassDiagonalRate":"0.26","PassLateralRate":"0.37","attacking_rate":"4.7","orgnizing_rate":"6.4","defending_rate":"4.1","skill_rate":"5.4","all_rate":"5.2"},{"_id":"5f6ed97adb50443bac57957e","teamId":1008,"personId":1279,"personName":"傅欢","personNameEn":"Fu Huan","personNum":"23","personPosition":"后卫","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Fu%20Huan.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"24.0","birth":"1993.07.12","teamName":"上海上港","countryName":"中国","weight":"69","height":"182","minutesPlayed":"1577.0","goals":"1.0","assists":"3.0","shots":"4.0","shotsOnTarget":"1.0","passes":"568.0","passAcurracy":"13.433104802999999","fouls":"26.0","ballPossession":"38.45","catchBall":"448.0","keyPass":"13.0","center":"46.0","breakThrows":"38.0","foulsConceded":"33.0","offsides":"2.0","interceptions":"21.0","clearances":"47.0","tackles":"40.0","blockShots":"6.0","blockPasses":"29.0","saves":"0.0","yellowCard":"4.0","redCard":"1.0","passShorts":"520.0","passesShortsAcc":"0.75","passLong":"48.0","passesLongAcc":"0.36","PassThroughRate":"0.16","PassBackRate":"0.27","PassDiagonalRate":"0.41","PassLateralRate":"0.17","attacking_rate":"4.8","orgnizing_rate":"4.8","defending_rate":"5.0","skill_rate":"5.2","all_rate":"4.8"},{"_id":"5f6ed97adb50443bac57957f","teamId":1008,"personId":1025,"personName":"埃尔克森","personNameEn":"Elkeson","personNum":"9","personPosition":"前锋","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Elkeson.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"28.0","birth":"1989.07.13","teamName":"上海上港","countryName":"中国","weight":"77","height":"180","minutesPlayed":"1411.0","goals":"11.0","assists":"4.0","shots":"52.0","shotsOnTarget":"24.0","passes":"435.0","passAcurracy":"12.15254595","fouls":"42.0","ballPossession":"25.17","catchBall":"361.0","keyPass":"18.0","center":"14.0","breakThrows":"25.0","foulsConceded":"34.0","offsides":"6.0","interceptions":"2.0","clearances":"16.0","tackles":"20.0","blockShots":"3.0","blockPasses":"5.0","saves":"0.0","yellowCard":"1.0","redCard":"0.0","passShorts":"411.0","passesShortsAcc":"0.72","passLong":"24.0","passesLongAcc":"0.44","PassThroughRate":"0.09","PassBackRate":"0.37","PassDiagonalRate":"0.31","PassLateralRate":"0.23","attacking_rate":"6.1","orgnizing_rate":"5.7","defending_rate":"4.8","skill_rate":"5.3","all_rate":"6.2"},{"_id":"5f6ed97adb50443bac579580","teamId":1008,"personId":11483,"personName":"陈彬彬","personNameEn":"Chen Bin bin","personNum":"37","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Chen%20Binbin.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"nan","birth":"nan","teamName":"上海上港","countryName":"中国","weight":"71","height":"179","minutesPlayed":"14.0","goals":"0.0","assists":"0.0","shots":"0.0","shotsOnTarget":"0.0","passes":"3.0","passAcurracy":"0.666666667","fouls":"0.0","ballPossession":"0.48","catchBall":"4.0","keyPass":"0.0","center":"0.0","breakThrows":"1.0","foulsConceded":"0.0","offsides":"0.0","interceptions":"0.0","clearances":"0.0","tackles":"1.0","blockShots":"0.0","blockPasses":"0.0","saves":"0.0","yellowCard":"0.0","redCard":"0.0","passShorts":"2.0","passesShortsAcc":"1.0","passLong":"1.0","passesLongAcc":"0.0","PassThroughRate":"0.0","PassBackRate":"0.33","PassDiagonalRate":"0.33","PassLateralRate":"0.33","attacking_rate":"4.7","orgnizing_rate":"1.7","defending_rate":"2.8","skill_rate":"6.7","all_rate":"2.9"},{"_id":"5f6ed97adb50443bac579581","teamId":1008,"personId":1277,"personName":"蔡慧康","personNameEn":"Cai Huikang","personNum":"6","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Cai%20Huikang.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/onesixsix/China.jpg","age":"28.0","birth":"1989.10.10","teamName":"上海上港","countryName":"中国","weight":"80","height":"182","minutesPlayed":"2061.0","goals":"0.0","assists":"2.0","shots":"4.0","shotsOnTarget":"1.0","passes":"929.0","passAcurracy":"22.444280544","fouls":"43.0","ballPossession":"40.13","catchBall":"571.0","keyPass":"7.0","center":"3.0","breakThrows":"4.0","foulsConceded":"12.0","offsides":"0.0","interceptions":"43.0","clearances":"26.0","tackles":"72.0","blockShots":"3.0","blockPasses":"33.0","saves":"0.0","yellowCard":"3.0","redCard":"0.0","passShorts":"890.0","passesShortsAcc":"0.82","passLong":"39.0","passesLongAcc":"0.28","PassThroughRate":"0.16","PassBackRate":"0.2","PassDiagonalRate":"0.48","PassLateralRate":"0.17","attacking_rate":"4.8","orgnizing_rate":"4.5","defending_rate":"5.7","skill_rate":"5.2","all_rate":"4.8"},{"_id":"5f6ed97adb50443bac579582","teamId":1008,"personId":10839,"personName":"艾哈迈多夫","personNameEn":"Odil Akhmedov","personNum":"25","personPosition":"中场","playerImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/%E4%B8%8A%E6%B5%B7%E4%B8%8A%E6%B8%AF%E9%9B%86%E5%9B%A2/players/Akhmedov%20Odil.jpg","clubImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/%E4%B8%AD%E8%B6%85/logo/ShanghaiSIPG.png","countryImg":"https://bsufootball.oss-cn-beijing.aliyuncs.com/AllNationalFlag/pic/others/Uzbekistan.jpg","age":"30.0","birth":"1987.11.25","teamName":"上海上港","countryName":"乌兹别克斯坦","weight":"75","height":"180","minutesPlayed":"1779.0","goals":"3.0","assists":"1.0","shots":"30.0","shotsOnTarget":"8.0","passes":"1157.0","passAcurracy":"16.988753054","fouls":"25.0","ballPossession":"69.38000000000001","catchBall":"901.0","keyPass":"24.0","center":"5.0","breakThrows":"35.0","foulsConceded":"21.0","offsides":"0.0","interceptions":"21.0","clearances":"8.0","tackles":"51.0","blockShots":"3.0","blockPasses":"19.0","saves":"0.0","yellowCard":"4.0","redCard":"0.0","passShorts":"1051.0","passesShortsAcc":"0.87","passLong":"106.0","passesLongAcc":"0.64","PassThroughRate":"0.11","PassBackRate":"0.22","PassDiagonalRate":"0.49","PassLateralRate":"0.18","attacking_rate":"4.7","orgnizing_rate":"5.9","defending_rate":"4.9","skill_rate":"4.0","all_rate":"4.9"}]
      }
    },
    components:{
      TabControlSub,
      RoundsTable,
      SquadTable
    },
    methods:{
      tabClick(index){
        switch (index) {
          case 0:
             this.currIndex = 0;

            break;
          case 1:
            this.currIndex = 1;
            break;
        }
      },
    },
    mounted() {
      console.log(this.$refs.tab.$el.offsetTop)
      // console.log(this.$refs.tab)
      // console.log(this.$refs.playersTable)

        this.$store.subscribe((mutation, state) => {
          this.squad = state.squad
        })


    }
  }
</script>

<style scoped>
  .country-data {
    position: absolute;
    top:513px;
    left:23px;
    width: 1423px;
    height: 2100px;
    border-radius: 12px;
    overflow: hidden;
    background-color:#4f4f4f;
  }
  .box-title {
    width: 1433px;
    height: 64px;
    background-color:#4b4b4b;
  }
  .data-status {
    position: absolute;
    left: 20px;
    width: 140px;
    height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  span {
    color: #FFF566;
    font-size: 22px;
  }
  img {
    width: 30px;
  }
  /*.FixedTab {*/
  /*  position: fixed;*/
  /*  background-color: red;*/
  /*  top: 500px;*/
  /*  left: 4px;*/
  /*}*/
</style>
